#include "loginwindow.h"

#include <QApplication>
#include<QDebug>
#include<QFile>
#define QSSPATH "./data/a.qss"
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QFile *ss=new QFile(QSSPATH);
    if(!ss->open(QIODevice::ReadOnly))
    {
        qDebug()<<"open qss failed";
    }
    QByteArray qssData=ss->readAll();

    a.setStyleSheet(qssData);
    loginWindow w;
    w.show();
    return a.exec();
}
